package com.xzer.xiaozhuoerinterface.entity;

import java.io.Serializable;

/**
 * @program: Xiaozhuoer-interface
 * @description:
 * @author: Xiaozhuoer
 * @create: 2021-09-13 16:36
 **/

public class PerInfo implements Serializable {
    int id;
    String name;
    String sex;
    String nation;
    String birth;
    String idCardNum;
    String addr;
    String bankCardNum;
    String bankName;
    String bankCardType;
    String carId;
    String licenseNum;
    String licenseData;
    String carModel;
    String carOwner;
    String driverCardNum;
    String driverLastData;
    String creditRate;

    @Override
    public String toString() {
        return "PerInfo{" +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", nation='" + nation + '\'' +
                ", birth='" + birth + '\'' +
                ", idCardNum='" + idCardNum + '\'' +
                ", addr='" + addr + '\'' +
                ", bankCardNum='" + bankCardNum + '\'' +
                ", bankName='" + bankName + '\'' +
                ", bankCardType='" + bankCardType + '\'' +
                ", carId='" + carId + '\'' +
                ", licenseNum='" + licenseNum + '\'' +
                ", licenseData='" + licenseData + '\'' +
                ", carModel='" + carModel + '\'' +
                ", carOwner='" + carOwner + '\'' +
                ", driverCardNum='" + driverCardNum + '\'' +
                ", driverLastData='" + driverLastData + '\'' +
                ", creditRate='" + creditRate + '\'' +
                '}';
    }

    public void setAll(String name, String sex, String nation, String birth, String idCardNum, String addr,
                       String bankCardNum, String bankName, String bankCardType, String carId, String licenseNum,
                       String licenseData, String carModel, String carOwner, String driverCardNum, String driverLastData){
        this.name = name;
        this.sex = sex;
        this.nation = nation;
        this.birth = birth;
        this.idCardNum = idCardNum;
        this.addr = addr;
        this.bankCardNum = bankCardNum;
        this.bankName = bankName;
        this.bankCardType = bankCardType;
        this.carId = carId;
        this.licenseNum = licenseNum;
        this.licenseData = licenseData;
        this.carModel = carModel;
        this.carOwner = carOwner;
        this.driverCardNum = driverCardNum;
        this.driverLastData = driverLastData;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public String getIdCardNum() {
        return idCardNum;
    }

    public void setIdCardNum(String idCardNum) {
        this.idCardNum = idCardNum;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getBankCardNum() {
        return bankCardNum;
    }

    public void setBankCardNum(String bankCardNum) {
        this.bankCardNum = bankCardNum;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankCardType() {
        return bankCardType;
    }

    public void setBankCardType(String bankCardType) {
        this.bankCardType = bankCardType;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getLicenseNum() {
        return licenseNum;
    }

    public void setLicenseNum(String licenseNum) {
        this.licenseNum = licenseNum;
    }

    public String getLicenseData() {
        return licenseData;
    }

    public void setLicenseData(String licenseData) {
        this.licenseData = licenseData;
    }

    public String getCarModel() {
        return carModel;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    public String getCarOwner() {
        return carOwner;
    }

    public void setCarOwner(String carOwner) {
        this.carOwner = carOwner;
    }

    public String getDriverCardNum() {
        return driverCardNum;
    }

    public void setDriverCardNum(String driverCardNum) {
        this.driverCardNum = driverCardNum;
    }

    public String getDriverLastData() {
        return driverLastData;
    }

    public void setDriverLastData(String driverLastData) {
        this.driverLastData = driverLastData;
    }

    public String getCreditRate() {
        return creditRate;
    }

    public void setCreditRate(String creditRate) {
        this.creditRate = creditRate;
    }
}
